<!DOCTYPE html>
<html lang="en">
<title>数据中心</title>
<#import "/layout/layout.html" as body/>
<@body.page>

<style>
    .product-imitation { padding: 0 }
    .product-imitation img { width: 100%; max-height: 200px }
    .product-desc { padding: 10px 0 }
</style>

<section class="wrapper wrapper-content animated fadeInUp">
    <h2>自营店：${selfStoreListCount!} 家</h2>
    <div class="row">
    <#if selfStoreList??>
    	<#list selfStoreList as list>
        <div class="col-lg-3 col-sm-6">
            <div class="ibox">
                <div class="ibox-content product-box">
                    <div class="product-imitation">
                    <#if list.resources??>
                     <#list list.resources as res>
                     <#if res_index==0>
                        <a href="${baseUrl}system/data/to_data_store?storeId=${list.id!}&storeName=${list.storeName!}"><img src="${res.url}" alt="img"></a>
                     </#if>
                     </#list>
                    </#if>
                    </div>
                    <div class="product-desc text-center">
                        <a href="${baseUrl}system/data/to_data_store?storeId=${list.id!}&storeName=${list.storeName!}" class="product-name">${list.storeName!}</a>
                    </div>
                </div>
            </div>
        </div>
        </#list>
      </#if>
    </div>
</section>

<section class="wrapper wrapper-content animated fadeInUp">
    <h2>合作店：${joinStoreListCount!} 家</h2>
    <div class="row">
     <#if joinStoreList??>
    	<#list joinStoreList as list>
        <div class="col-lg-3 col-sm-6">
            <div class="ibox">
                <div class="ibox-content product-box">
                    <div class="product-imitation">
                        <#if list.resources??>
	                     <#list list.resources as res>
	                     <#if res_index==0>
	                     <a href="${baseUrl}system/data/to_data_store?storeId=${list.id!}&storeName=${list.storeName!}"><img src="${res.url}" alt="img"></a>
	                     </#if>
	                     </#list>
	                    </#if>
                    </div>
                    <div class="product-desc text-center">
                        <a href="${baseUrl}system/data/to_data_store?storeId=${list.id!}&storeName=${list.storeName!}" class="product-name"> ${list.storeName!}</a>
                    </div>
                </div>
            </div>
        </div>
        </#list>
        </#if>
    </div>
</section>

<script>
    $(function () {

    })
</script>

</@body.page>
</html>